package com.zc.ssb.scala.controller

import org.springframework.web.bind.annotation.{GetMapping, RequestMapping, RestController}

import scala.util.Random

@RestController
@RequestMapping(value = Array("scala"))
class RandomScala {

  @GetMapping(value = Array("randomNum"))
  def randomNum(): String = {
    "123"
    Random.nextString(4)
  }
}
